package com.kehutong.charge.entity;

import com.kehutong.charge.util.enums.EnableStateEnum;
import com.kehutong.common.entity.DataEntity;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * @program: kht
 * @description: 收据订单
 * @author: jian Ye
 * @create: 2021/8/3
 **/
@Table(value="t_charge_receipt_order", comment="票据订单表", multi = true, idType = IDType.TIMESTAMP, engine = "innodb")
public class ReceiptOrders extends DataEntity {

    private static final long serialVersionUID = 7782703536284770667L;

    protected ReceiptOrders(String id) {
        super(id);
    }

    @Column(comment="收据单号")
    private String receiptNo;

    @Column(comment="缴费编号")
    private String payOrderNo;

    @Column(comment="缴费批次编号")
    private String batchPayOrderNo;

    @Column(comment="所属小区编号")
    private String communityNo;

    @Column(comment="所属小区名称")
    private String communityName;

    @Column(comment="房屋信息")
    private String houseInfo;

    @Column(comment="账单编号")
    private String houseBillNo;

    @Column(comment="房屋编号")
    private String houseNo;

    @Column(comment="文件id")
    private String fileId;

    @JSONField(serialize = false)
    @Column(comment = "逻辑删除")
    private boolean deleted;

    @Column(comment = "创建人")
    private String createName;

    @Column(comment = "状态是否生效")
    private EnableStateEnum EnableStat;


    public String getReceiptNo() {
        return receiptNo;
    }

    public void setReceiptNo(String receiptNo) {
        this.receiptNo = receiptNo;
    }

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public String getHouseInfo() {
        return houseInfo;
    }

    public void setHouseInfo(String houseInfo) {
        this.houseInfo = houseInfo;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getCommunityNo() {
        return communityNo;
    }

    public void setCommunityNo(String communityNo) {
        this.communityNo = communityNo;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getBatchPayOrderNo() {
        return batchPayOrderNo;
    }

    public void setBatchPayOrderNo(String batchPayOrderNo) {
        this.batchPayOrderNo = batchPayOrderNo;
    }

    public String getHouseBillNo() {
        return houseBillNo;
    }

    public void setHouseBillNo(String houseBillNo) {
        this.houseBillNo = houseBillNo;
    }

    public String getHouseNo() {
        return houseNo;
    }

    public void setHouseNo(String houseNo) {
        this.houseNo = houseNo;
    }

    public EnableStateEnum getEnableStat() {
        return EnableStat;
    }

    public void setEnableStat(EnableStateEnum enableStat) {
        EnableStat = enableStat;
    }
}
